package org.jeecg.modules.oa.service;

import org.jeecg.modules.oa.entity.Accpect;
import org.jeecg.modules.oa.entity.ApprovalNode;
import org.jeecg.modules.oa.entity.ButtonCondition;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 按钮条线表
 * @Author: jeecg-boot
 * @Date:   2019-12-10
 * @Version: V1.0
 */
public interface IButtonConditionService extends IService<ButtonCondition> {

    List<ApprovalNode> selectNode(String mainId);

    Integer updateCondition(String buttonId,String conditionFlg);

    void saveBatchCondition(List<Accpect> buttonConditionList);

    void saveCondition(ButtonCondition bc);
}
